<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>表格标签</title>
</head>
<body>

	<!-- 
		table：
			border: 边框
			width:
			align:
			bgcolor:
			background:
			cellpadding:
			cellspacing:
				
			|- caption 单元格标题
			|- tr 表格行标签
				alin = "center"
				bgcolor = "#00ff00"
				colspan: 列合并
				rowspan: 行合并

				|- th 单元格标题标签
				|- td 单元格内容标签
	-->	
	
	<table border="1" align="center">
		
		<caption >表格题目</caption>
		
		<tr>
			<th>姓名</th>
			<th>年龄</th>
			<th>性别</th>
		</tr>
		<tr align="center">
			<td>唐伯虎1</td>
			<td>30</td>
			<td rowspan="3">男</td>
		</tr>
		<tr align="center">
			<td>唐伯虎2</td>
			<td>30</td>
			
		</tr>
		<tr align="center">
			<td>唐伯虎3</td>
			<td>30</td>
			
		</tr>
		<tr align="center">
			<td>唐伯虎4</td>
			<td colspan="2">30, 男</td>
			
		</tr>
	</table>
</body>
</html>